<#include "/macro/base.ftl" />
<div class="pageContent">
	<form method="post" action="${base}/sys/sysRole/update" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="58">
			<input name="id" value="${ bean.id?c!}" type="hidden"/>
				<p>
					<label>角色名称：</label>
					<input name="role"  class="required" type="text" size="20" value="${ (bean.role)!}" placeholder="请输入角色名称"/>
				</p>
				<p>
					<label>角色描述：</label>
					<input name="description"  class="required" type="text" size="20" value="${ (bean.description)!}" placeholder="请输入角色描述"/>
				</p>
				<p>
					<label>是否可用：</label>
					<!-- <input name="available"  class="required" type="number" 
				    size="20" value="${(bean.available)!}" placeholder="请输入是否可用"/> -->
				    <label><input type="radio" name="state" <#if bean.available! == '0'>checked="checked"</#if> value="0"/>禁用</label>	
					<label><input type="radio" name="state" <#if bean.available! == '1'>checked="checked"</#if> value="1"/>可用</label>	
				</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
</div>
